﻿using System;
using System.Collections.Generic;
using System.Text;
using IDAL.A;
using Model.A;

namespace BLL.A
{
    public class AllocateFYGESN:BaseService<AllocateFYGESNInfo>
    {
        private static readonly IAllocateFYGESN dal = DALFactory.DataAccess.CreateAllocateFYGESN();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<AllocateFYGESNInfo> AllocateFYGESN_GetbySN(string sn)
        {
            return dal.AllocateFYGESN_GetbySN(sn);
        }

        public IList<AllocateFYGESNInfo> AllocateFYGESN_GetbyDT(DateTime dt1, DateTime dt2)
        {
            return dal.AllocateFYGESN_GetbyDT(dt1, dt2);
        }
    }
}
